import request from '@/util/request'

/**
 * 根据工艺ID查询已排产的生产任务
 * @param workflowId 工艺ID
 * @returns {Promise}
 */
export function getProductionTaskByWorkflowId(workflowId) {
    return request({
        url: `/productionTask/list/${workflowId}`,
        method: 'get'
    })
}